package com.guyu.app.common.util;


import com.github.promeg.pinyinhelper.Pinyin;
import com.github.promeg.tinypinyin.lexicons.java.cncity.CnCityDict;
import org.dromara.hutool.extra.pinyin.engine.tinypinyin.TinyPinyinEngine;

public class TinyPinyinUtil {

    public static TinyPinyinEngine getEngine() {
        return new TinyPinyinEngine(Pinyin.newConfig().with(CnCityDict.getInstance()));
    }

}
